package com.ken.apkmanager;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class SampleClass {
    private static final String TAG = "SampleClass";
    private static final Log log = LogFactory.getLog(SampleClass.class);

    public void print(String name) {
        if (log.isTraceEnabled()) {
            log.trace("传入的参数是:" + name);

        }

        try {
// TODO: 2019/12/12
        } catch (Exception e) {
            if (log.isErrorEnabled()) {
                log.error("出错啦", e);
            }
        }
    }
}
